package com.smedi.ismedi.authoritymanagement.core.domain.service;

import com.smedi.ismedi.authoritymanagement.core.domain.aggregatemodel.RoleMember;

/**
 * @Author: xulinjun
 * @Date: 2021-8-10 14:38
 */
public interface RoleMemberDomainService {
    RoleMember saveRoleMember(Long roleId, Long personId);

    RoleMember queryRoleMemberByRoleMemberId(Long roleMemberId);

    void deleteRoleMemberByRoleMemberId(Long roleMemberId);

    boolean existRoleMember(Long roleId);
}
